package com.zhenfan.pattern.hungry;

/**
 * 饿汉式
 *
 * @author wangmh
 * @create 2018-10-29 9:28
 **/
public class Hungry {
     private static Hungry INSTANCE = new Hungry();

     private Hungry() {}

     public static Hungry getInstance() {
         return INSTANCE;
     }
}
